package com.ibeeking.found.common.config.prop;

import com.ibeeking.found.common.entity.JksEntity;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author ibeeking
 */
@Component
@ConfigurationProperties(prefix = "ibeeking.encrypt")
@Data
@RefreshScope
public class EncryptProp {

    /**
     * 秘钥key
     */
    private String secretKey;

    private JksEntity jks;
}
